package org.objective.ddl.type;

import java.util.UUID;
import org.objective.base.PredefinedDataType;
import org.objective.base.Referable;
import org.objective.base.Storage;

/**
 *
 * @author gus
 */
public class DLLRectagle extends PredefinedDataType
{

    public DLLRectagle(Storage storage)
    {
        super(storage, DataType.Spatial);
    }


    @Override
    public Referable getObjectRef()
    {
        return null;
    }

    @Override
    public long getDataType()
    {
        return DataType.Spatial;
    }

    @Override
    public boolean isSimpleType()
    {
        return false;
    }

    @Override
    public boolean isNullable()
    {
        return false;
    }

    @Override
    public Object getNullValue()
    {
        return new Spatial();
    }

    @Override
    public String getName()
    {
        return Spatial.class.getName();
    }

    @Override
    protected UUID getUnique()
    {
        return UUID.fromString("cb2a40a8-20f1-4b3e-95c0-1e58532b62d8");
    }
}
